package net.oschina.app.ViewFragment;

import net.oschina.app.base.BaseAdapter;
import net.oschina.app.fragment.BaseVPFragment;
import net.oschina.app.fragment.ZongHeFangment;
import net.oschina.app.fragment.DefaultFragment;
import net.oschina.app.fragment.ZongHeBKFangment;
import net.oschina.app.fragment.ZongHeFangment;
import net.oschina.app.fragment.ZongHeRDFangment;
import net.oschina.app.fragment.ZongHeTJFangment;

/**
 * Created by admin on 2017/7/13.
 */

public class SynthesizeFragment extends BaseVPFragment{
    @Override
    protected void initTab(BaseAdapter adapter) {
        adapter.clear();//先清除适配器集合中的数据，再添加
        adapter.addTab("资讯",ZongHeFangment.class,getBundle("资讯内容"));
        adapter.addTab("热点",ZongHeRDFangment.class,getBundle("热点内容"));
        adapter.addTab("博客",ZongHeBKFangment.class,getBundle("博客内容"));
        adapter.addTab("推荐",ZongHeTJFangment.class,getBundle("推荐内容"));
    }
}
